package com.youdianda.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 字典表
 * sys_dict
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SysDict implements Serializable {

    private String id;

    /**
     * 数据值
     */
    private String value;

    /**
     * 标签名
     */
    private String label;

    /**
     * 类型
     */
    private String type;

    /**
     * 描述
     */
    private String description;

    /**
     * 排序（升序）
     */
    private Integer sort;

    /**
     * 创建时间
     */
    private LocalDateTime create_date;

    /**
     * 更新时间
     */
    private LocalDateTime update_date;

    /**
     * 备注信息
     */
    private String remarks;

    /**
     * 删除标记
     */
    @TableLogic(value = "0",delval = "1")
    private String del_flag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}